
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<head>
    <script src="${ctx }/js/jquery.form.js" type="text/javascript"></script>
    <script src="${ctx }/js/ajaxfileupload.js" type="text/javascript"
    ></script>
</head>
<div class="pageContent">
    <form action="${ctx }/version/doUpdate" method="post"
          onsubmit="return validateCallback(this , dialogAjaxDone);">
        <div class="pageFormContent" layoutH="56">
            <input type="hidden"  name="id"  value="${record.id}"/>
            <p>
                <label style="color: #ff0000">客户端类型:</label>
                <select name="clientType" maxlength="50">
                    <option value="1"
                            <c:if test="${record.clientType eq '1'}">selected="selected"</c:if>>学生端
                    </option>
                    <option value="2"
                            <c:if test="${record.clientType eq '2'}">selected="selected"</c:if>>老师端
                    </option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label style="color: #ff0000">系统类型:</label>
                <select name="osType" maxlength="50">
                    <option value="ios"
                            <c:if test="${record.osType eq 'ios'}">selected="selected"</c:if>>IOS
                    </option>
                    <option value="android"
                            <c:if test="${record.osType eq 'android'}">selected="selected"</c:if>>Android
                    </option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label>版本号:</label>
                <input name="version" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value="${record.version}"/>
            </p>
            <div class="divider"/>
            <p>
                <label>渠道信息:</label>
                <input name="channels" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value="${record.channels}"/>
            </p>
            <div class="divider"/>
            <p>
                <label>OS适用最低版本:</label>
                <input name="osLowVersion" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value="${record.osLowVersion}"/>
            </p>
            <div class="divider"/>

            <p>
                <label>OS适用最高版本:</label>
                <input name="osHighVersion" class="" 　type="text" class="" maxlength="50" style="width:180px"
                       value="${record.osHighVersion}"/>
            </p>
            <div class="divider"/>
            <p>
                <label>下载地址:</label>
                <input name="downloadUrl" class="required" 　type="text" class="" maxlength="50" style="width:180px"
                       value="${record.downloadUrl}"/>
            </p>
            <div class="divider"/>
            <p>
                <label style="color: #ff0000">是否需要强制升级:</label>
                <select name="beforceupdate" maxlength="50">
                    <option value="false"
                            <c:if test="${record.beforceupdate eq 'false'}">selected="selected"</c:if>>否
                    </option>
                    <option value="true"
                            <c:if test="${record.beforceupdate eq 'true'}">selected="selected"</c:if>>是
                    </option>
                </select>
            </p>
            <div class="divider"/>
            <p>
                <label>版本升级说明</label>
                <input name="remark" class="" 　type="textarea" class="" maxlength="50" style="width:180px"
                       value="${record.remark}"/>
            </p>
            <div class="divider"/>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
